package com.hkemmm.shop.service.impl;

import com.hkemmm.shop.dao.AdminMapper;
import com.hkemmm.shop.entity.Admin;
import com.hkemmm.shop.service.IAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminService implements IAdminService {
    @Autowired
    private AdminMapper adminMapper;

    @Override
    public Admin Login(String username, String password) {
        return adminMapper.Login(username, password);
    }
}
